package com.yunxi.sys.service;

import com.yunxi.sys.pojo.RoleMenuVO;
import com.yunxi.sys.pojo.RoleUserVO;
import com.yunxi.sys.pojo.RoleVO;
import com.yunxi.sys.pojo.UserVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * Created by 枫下 on 2018/1/23.
 */
public interface RoleUserDubboService {
    List listByRoleId(String selectvalues) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException;

    List listByRoleCode(String roleCode);

    void saveRoleUserList(RoleUserVO roleMenu, String userId);

    void save(RoleUserVO ru) throws InvocationTargetException, IllegalAccessException;

    void delByUserId(String userId);

    List<RoleVO> listByDomainId(String domainId);

    List<RoleUserVO> listByUserId(String userId);

    void saveRoleUserList(RoleUserVO roleUser);

    List<RoleVO> listByAccount(String accountNo);
    //根据角色id得到用户List
    List<UserVO> userListByRoleId(String roleId);
}
